/**
 * 
 */
package com.myway.components.jms.handlers;

import java.util.Map;

import com.myway.components.jms.artifact.IBELogArtifact;
import com.myway.core.execption.HandlerException;
import com.myway.core.handler.Handler;


/**
 * @author zhengxing
 *
 */
public class IBELogHandler implements Handler {
	
//	@Resource(name="ibeLogsService")
//	private IBELogsService service;
	
	/* (non-Javadoc)
	 * @see com.hna.mars.core.handler.Handler#doHandle(java.utils.Map)
	 */
	@SuppressWarnings("unchecked")
	public void doHandle(Map map) throws HandlerException {
		if(null != map.get(IBELogArtifact.class.getSimpleName())) {
			IBELogArtifact artifact = (IBELogArtifact) map.get(IBELogArtifact.class.getSimpleName());
//			service.addIbeLogs(artifact.getLog());
		}
	}

}
